package com.springboot;

import com.alibaba.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * neu
 * 2019/7/24 13:47
 *
 * @Version : 1.0
 * @Description :
 */
@EnableDubbo
@SpringBootApplication
public class Appcc {

    public static void main(String[] args) {
        ConfigurableApplicationContext context = new SpringApplicationBuilder(Appcc.class)
                .web(WebApplicationType.SERVLET).run(args);
    }
}
